import config from '@/config/config.js';
import http from '@/api/http.js'

let processRelationshipRequest={
    list(callBack){
        // 获取token
        let token = localStorage.getItem("token");
        if(token){
            let url = config.productionBaseUrl + "/relationship/list";
            console.log(url);
            http.get(url,callBack);
        }else{
            callBack(undefined);
        }
    }
}

export default processRelationshipRequest;